{"id":"7158141d-60d6-4d68-a81c-e34daf5de08c","shortId":"fbPrfP","kind":"mcp","title":"TokenScope","tagline":"Scans codebases to intelligently extract and prioritize files for LLMs while respecting token limits and .gitignore p...","description":"Scans codebases to intelligently extract and prioritize files for LLMs while respecting token limits and .gitignore patterns\n\nTokenScope is a token-aware directory explorer for Large Language Models that enables intelligent codebase analysis while respecting token limitations. Built by Carlos Gaete-Morales, this Python-based MCP server provides tools for scanning directory structures, extracting file contents, analyzing token usage statistics, and generating comprehensive reports. It features security validation to restrict operations to specified base directories, intelligent file prioritization based on importance, and automatic handling of common file formats like JSON. The implementation respects .gitignore files and includes default ignore patterns for common non-source directories, making it valuable for developers who need to help LLMs understand codebases efficiently without exceeding token limits.","tags":["tokenscope"],"capabilities":["mcp","transport-stdio","open-source","pkg-pypi"],"categories":[],"synonyms":[],"warnings":[],"endpointUrl":"https://github.com/cdgaete/token-scope-mcp","protocol":"mcp","transport":"stdio","auth":{"type":"mcp","details":{"transport":"stdio"}},"qualityScore":"0.608","qualityRationale":"deterministic score 0.61 from registry signals: · indexed on pulsemcp · has source repo · 4 github stars · registry-generated description present","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:mcp:v1","enrichmentVersion":1,"enrichedAt":"2026-04-30T14:21:54.422Z","embedding":null,"createdAt":"2026-04-21T19:27:26.402Z","updatedAt":"2026-04-30T14:21:54.422Z","lastSeenAt":"2026-04-30T14:21:54.422Z","tsv":"'analysi':52 'analyz':78 'automat':104 'awar':41 'base':66,95,100 'built':57 'carlo':59 'codebas':3,20,51,139 'common':107,123 'comprehens':84 'content':77 'default':119 'develop':132 'directori':42,73,96,127 'effici':140 'enabl':49 'exceed':142 'explor':43 'extract':6,23,75 'featur':87 'file':9,26,76,98,108,116 'format':109 'gaet':61 'gaete-moral':60 'generat':83 'gitignor':17,34,115 'handl':105 'help':136 'ignor':120 'implement':113 'import':102 'includ':118 'intellig':5,22,50,97 'json':111 'languag':46 'larg':45 'like':110 'limit':15,32,56,144 'llms':11,28,137 'make':128 'mcp':67 'model':47 'moral':62 'need':134 'non':125 'non-sourc':124 'open-source' 'oper':92 'p':18 'pattern':35,121 'pkg-pypi' 'priorit':8,25,99 'provid':69 'python':65 'python-bas':64 'report':85 'respect':13,30,54,114 'restrict':91 'scan':2,19,72 'secur':88 'server':68 'sourc':126 'specifi':94 'statist':81 'structur':74 'token':14,31,40,55,79,143 'token-awar':39 'tokenscop':1,36 'tool':70 'transport-stdio' 'understand':138 'usag':80 'valid':89 'valuabl':130 'without':141","prices":[{"id":"ae9d02a7-b15e-426d-b98e-7bed944332d6","listingId":"7158141d-60d6-4d68-a81c-e34daf5de08c","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"mcp-free","isPrimary":true,"details":{"transport":"stdio","package_name":"tokenscope","package_registry":"pypi"},"createdAt":"2026-04-21T19:27:26.402Z"}],"sources":[{"listingId":"7158141d-60d6-4d68-a81c-e34daf5de08c","source":"pulsemcp","sourceId":"https://www.pulsemcp.com/servers/cdgaete-token-scope","sourceUrl":"https://api.pulsemcp.com/v0beta/servers","isPrimary":true,"firstSeenAt":"2026-04-21T19:27:26.402Z","lastSeenAt":"2026-04-30T14:21:54.422Z"}],"details":{"listingId":"7158141d-60d6-4d68-a81c-e34daf5de08c","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"source":"pulsemcp","transport":"stdio","server_name":"TokenScope","github_stars":4,"package_name":"tokenscope","registry_url":"https://www.pulsemcp.com/servers/cdgaete-token-scope","source_code_url":"https://github.com/cdgaete/token-scope-mcp","package_registry":"pypi","package_download_count":2511},"updatedAt":"2026-04-30T14:21:54.422Z"}}