{"name":"io.github.ashlesh-t/cognirepo","slug":"ashlesh-t-cognirepo","title":"CogniRepo","description":"FAISS, call graph, AST, BM25 — 34 MCP tools for AI agents. 50-80% token reduction. Offline.","url":"https://mcp.market/server/ashlesh-t-cognirepo","rating":null,"grade":"A","score":92,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":34,"stars":14,"forks":3,"downloads_week":30,"last_push_at":"2026-09-25T13:54:45.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"pypi","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/ashlesh-t/cognirepo","website":null,"version":"1.1.1","remotes":[],"packages":[{"registryType":"pypi","identifier":"cognirepo","version":"1.1.1","runtimeHint":"uvx","transport":{"type":"stdio"},"packageArguments":[{"value":"serve","type":"positional","valueHint":"serve"},{"description":"Absolute path to the project root cognirepo should index and serve. Omit to use current working directory.","type":"named","name":"--project-dir"}]}],"tools":[{"name":"architecture_overview","description":"Retrieve pre-computed architectural summaries. scope: 'root' for repo summary, a directory path, or a file path.","write_action":false,"price_micros":0,"input_schema":null},{"name":"context_pack","description":"Budget-pack the most relevant code + episodic context into a token-bounded block ready for injection into the next prompt. Call this BEFORE reading any source file to avoid wasting tokens on raw file reads. Returns at most max_tokens (default 2000) tokens — much smaller than raw files. Do NOT call for known short files (< 50 lines) — use Read directly instead.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cross_repo_search","description":"Search knowledge from sibling repositories.","write_action":false,"price_micros":0,"input_schema":null},{"name":"cross_repo_traverse","description":"Traverse the org dependency graph from a repo or symbol to find cross-service relationships.","write_action":false,"price_micros":0,"input_schema":null},{"name":"dependency_graph","description":"Return import/dependency relationships for a module. direction: \"imports\" | \"imported_by\" | \"both\". depth: transitive traversal depth (1 = direct only).","write_action":false,"price_micros":0,"input_schema":null},{"name":"episodic_search","description":"Return past episodic events matching a keyword query.","write_action":false,"price_micros":0,"input_schema":null},{"name":"explain_change","description":"Explain what changed in a file or function recently by cross-referencing git history with episodic memory events mentioning the same target.","write_action":false,"price_micros":0,"input_schema":null},{"name":"find_symbol_path","description":"Find the shortest call-graph path between two symbols, crossing service boundaries via the org graph when needed.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_agent_bootstrap","description":"Single-call session bootstrap for AI agents. Replaces the 4-call sequence (get_session_brief → get_last_context → get_user_profile → get_error_patterns) with one ~300-token payload.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_error_patterns","description":"Return recurring error patterns with prevention hints to avoid repeating mistakes.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_last_context","description":"Return the most recent context snapshot written by context_pack.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_service_endpoints","description":"Return the HTTP endpoint registry for a service (from endpoints.json).","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_session_brief","description":"Generate a session bootstrap brief for agent orientation.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_session_history","description":"Return recent conversation session exchanges for context continuity.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_user_profile","description":"Return the user's interaction style profile for Claude to adapt its responses.","write_action":false,"price_micros":0,"input_schema":null},{"name":"graph_stats","description":"Return a health summary of the current graph state.","write_action":false,"price_micros":0,"input_schema":null},{"name":"link_repos","description":"Record a dependency relationship between two repos in the org graph. Call this when you discover that one repo imports from or calls another.","write_action":false,"price_micros":0,"input_schema":null},{"name":"list_org_context","description":"Show what org, project, and sibling repositories the current repo belongs to.","write_action":false,"price_micros":0,"input_schema":null},{"name":"log_episode","description":"Log a structured episodic event to the episodic memory store. Use to record what happened: bugs found, code explored, agent actions. Retrievable via episodic_search in future sessions. Do NOT use for architectural decisions — use record_decision instead.","write_action":false,"price_micros":0,"input_schema":null},{"name":"lookup_symbol","description":"Return all locations where a symbol is defined or called, with file, line, and type. If include_org=True, also searches sibling repositories in the same organization. Do NOT call for broad concepts — only exact or near-exact symbol names. For concept queries use semantic_search_code instead.","write_action":false,"price_micros":0,"input_schema":null},{"name":"org_dependencies","description":"Return the bidirectional inter-repo dependency graph for the current organization.","write_action":false,"price_micros":0,"input_schema":null},{"name":"org_search","description":"FALLBACK ONLY — use org_wide_search first. Text-match search across org repos when org_wide_search returns nothing. Do NOT call as primary cross-repo search — org_wide_search has broader coverage.","write_action":false,"price_micros":0,"input_schema":null},{"name":"org_wide_search","description":"PRIMARY tool for cross-repo queries. Searches memories across ALL registered repos. Use this by default when a query spans multiple services or the answer may live in any repo. Prefer this over org_search (legacy fallback).","write_action":false,"price_micros":0,"input_schema":null},{"name":"record_decision","description":"Record an architectural decision, bug fix rationale, or 'why we did X'. Stored in episodic memory — retrievable via episodic_search in future sessions. Call when a non-obvious architectural decision is made, a bug root-cause is understood, or the user says to 'remember' something. Do NOT call for routine changes — only decisions where WHY is non-obvious. Returns: {stored: True, searchable_via: 'ep","write_action":false,"price_micros":0,"input_schema":null},{"name":"record_error","description":"Record an error Claude or the user encountered so future sessions can avoid it.","write_action":false,"price_micros":0,"input_schema":null},{"name":"record_user_preference","description":"Store an explicit user preference or query-rewrite correction.","write_action":false,"price_micros":0,"input_schema":null},{"name":"retrieve_memory","description":"Retrieve the top-k memories most similar to the query. If include_org=True, also queries sibling repositories in the same organization.","write_action":false,"price_micros":0,"input_schema":null},{"name":"run_server","description":"Entry point called by the CLI — writes manifest then starts stdio MCP server.","write_action":true,"price_micros":0,"input_schema":null},{"name":"search_docs","description":"Search indexed documentation files (*.md, *.rst, *.txt) by semantic similarity. Use for: README explanations, architecture docs, decision logs. Do NOT use for code — use semantic_search_code instead.","write_action":false,"price_micros":0,"input_schema":null},{"name":"search_token","description":"Word-level reverse-index search.","write_action":false,"price_micros":0,"input_schema":null},{"name":"semantic_search_code","description":"Semantic vector search over indexed code symbols only (no episodic memory mixed in). Optionally filter by language: \"python\", \"typescript\", \"go\", etc. Do NOT call for exact string matches — use search_token or grep instead. Use for concepts and natural-language queries about what code does.","write_action":false,"price_micros":0,"input_schema":null},{"name":"store_memory","description":"Store a semantic memory with an optional source label.","write_action":false,"price_micros":0,"input_schema":null},{"name":"subgraph","description":"Return the local neighbourhood of a concept or symbol as {nodes, edges}.","write_action":false,"price_micros":0,"input_schema":null},{"name":"supersede_learning","description":"Deprecate an existing memory (by ID from store_memory conflicts list) and replace it with corrected text. Use when store_memory returns a conflict that contains incorrect or outdated information.","write_action":false,"price_micros":0,"input_schema":null},{"name":"who_calls","description":"Return every caller of a function across the indexed repo.","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":92,"grade":"A","scanned_at":"2026-09-27T05:27:51.214Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-27T05:27:51.212Z","components":{"code":{"score":25,"max":25,"notes":["102 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":12,"max":15,"notes":["local package, no credentials required"]},"maintenance":{"score":15,"max":15,"notes":["last push 2 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"packages":[{"registryType":"pypi","identifier":"cognirepo","version":"1.1.1","found":true,"weeklyDownloads":30,"license":"MIT","dependencyCount":50,"publishedAt":"2026-06-14T16:48:26.540832Z","repositoryUrl":"https://github.com/ashlesh-t/cognirepo"}],"repo":{"found":true,"owner":"ashlesh-t","repo":"cognirepo","archived":false,"pushedAt":"2026-09-25T13:54:45Z","stars":14,"forks":3,"openIssues":20,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/115142220?v=4","ownerCreatedAt":"2022-10-06T07:45:48Z","license":"MIT"},"icon":{"url":"https://avatars.githubusercontent.com/u/115142220?v=4&s=128","source":"github"},"presence":{"stars":14,"forks":3,"downloadsWeek":30,"license":"MIT","lastPushAt":"2026-09-25T13:54:45.000Z","score":34}}}},"grade_history":[],"reviews":[]}