Our sandbox passed all 70 pytest tests at commit 814f02b, while issue reports identify problems with HTTP workflow isolation, accepted identifiers and response size. INE MCP suits analysts exploring Spanish official statistics through a local stdio client. Teams requiring isolation between users of a shared HTTP service should choose a different deployment arrangement: issue #2 reports one client retrieving data after another completed the required steps.
What people use mcp for
INE MCP exposes five read-only tools for discovering and querying Spain's official statistical tables. Its full project name distinguishes es-ine/mcp from the wider Model Context Protocol ecosystem. The INE MCP README describes the tools and their order: find an operation, select tables, inspect variables, select values and retrieve observations. For an analyst, that provides a route from a question about unemployment to a particular table and its filters.
The issue reports describe three uses of this workflow: retrieving statistics through stdio, examining HTTP client isolation and measuring how a table response grows as filters disappear. These are different tasks with different outcomes. The Galicia retrieval shows a successful statistical response alongside a failure to enforce the displayed search results. The HTTP sequence examines whose earlier steps unlock a request, while the response-size experiment measures how much data reaches the assistant.
| Who used it | What they did | What came back |
|---|---|---|
| Reporter of issue #5 | Searched regional values for Murcia, then requested Galicia through stdio | Galicia unemployment data arrived although the preceding search displayed Murcia. |
| Reporter of issue #2 | Connected two HTTP clients under different protocol negotiations | Client B received data under 2026-07-28; legacy 2025-11-25 blocked its skipped steps. |
| Reporter of issue #7 | Requested table 65335 with progressively fewer filters | Output grew from 37,476 characters for one series to 4,370,626 for 120 series. |
The README also gives ordinary analysis questions: unemployment rates for men in Murcia, CPI in Madrid and population by province. Those are documented examples, whereas the Galicia result is an attributed retrieval report. The README says each result includes its operation, table, public URL and applied filters. Retaining that provenance beside a reused figure gives readers a particular INE table to inspect and follows the project's request to cite INE.
What happened when we ran it
Our November 27, 2026 sandbox run installed es-ine/mcp in 10 seconds and built it in 11 seconds at commit 814f02b. All 70 pytest tests passed in 12 seconds. We measured 68 dependencies and 71 MB on disk. These results describe installation, build and tests in our sandbox; the separate deployment attempt stopped at a safety check requiring a Compose file.
| Source check in our sandbox | Recorded result |
|---|---|
| Install | Succeeded in 10 seconds; 68 dependencies recorded |
| Installed disk footprint | 71 MB |
| Build | Succeeded in 11 seconds |
| Tests | 70 passed, 0 failed of 70, in 12 seconds |
| Repository scan | 26 files, approximately 3,147 source lines and 0.4 MB checked out |
| Automation and packaging signals | 0 CI workflow files, no Dockerfile, a tests directory |
The deployment step recorded this error: unsafe repo: none of compose.yaml, compose.yml, docker-compose.yaml, docker-compose.yml exists (rule: a compose file is required). The failed safety step identifies the missing Compose file. The documented local installation uses uv and stdio, so this error belongs to the lab's deployment route. Installation and build have their own successful results in the harness measurements above.
The deployment records conflict: the run summary says deployment used its own Docker Compose with every port bound to 127.0.0.1, while the detailed step reports the required file absent. The explicit failed step determines our classification of the attempt. The teardown record reports "teardown: ok". The harness configuration named 3 CPUs, 8 GB RAM and the image ghcr.io/astral-sh/uv:python3.12-bookworm.
Where people get stuck: match the response to the failure
Issue #6 concerns a clone URL, while issues #2, #5 and #7 describe behavior after the server starts. Correcting a repository address addresses installation; using a separate process follows the reported HTTP workaround; narrowing filters reduces the requested data. The reports distinguish workarounds from proposed implementation changes, so a practical response should preserve that distinction rather than imply that a configuration adjustment installs a fix.
| Problem and reporter | Practical response | Resolution shown in the issue |
|---|---|---|
| Issue #6 reports a GitLab clone URL in the Spanish instructions | Use git clone https://github.com/es-ine/mcp.git ine-mcp |
Closed; the reporter supplies the GitHub command |
| Issue #2 reports shared HTTP flow state | Use a separate stdio process per client; legacy negotiation also blocked the reproduced bypass | Reported workaround |
| Issue #5 reports acceptance of previously unreturned identifiers | Compare final identifiers with the displayed search results | Registering only returned results is proposed |
| Issue #7 reports oversized table responses | Narrow variable values and requested periods | A series or observation threshold is proposed |
A silent terminal is expected when starting this server over stdio. The README says it prints nothing until an MCP client connects, so uv run ine-mcp starts a waiting server process. For a server missing from the client's list, the troubleshooting instructions say to use an absolute clone path and restart the client completely. Those instructions address client registration before a statistical query enters the five-tool workflow.
HTTP clients shared workflow state in the reported reproduction
Issue #2 reports shared HTTP workflow state under protocol 2026-07-28. The reporter attributes this to using the mcp-session-id header as a state key: requests without that header fall into default. Client A completes steps 1 through 4 for table 65334, then a newly connected client B calls step 5 directly with filters for Murcia and men. This is the report's two-client sequence, rather than a result from our pytest run.
Under default negotiation, client B receives data. Under legacy 2025-11-25 negotiation, it receives BLOCKED: Cannot execute step 5 without completing step 2. The issue #2 reproduction says stdio avoids this shared state because each client has its own process. That transport distinction supports choosing a separate local process when an integration depends on each client completing its own workflow steps.
The same reporter describes retained metadata: three calls over ADRH tables add 61,411 pairs and about 13.5 MB that are not released. The report says MAX_SESSIONS limits session count, while this HTTP path has only one shared state. These are issue #2's retention observations. They concern full INE responses stored during step 4, separately from the observations eventually returned to the assistant.
Valid identifiers can differ from displayed search results
Issue #5 reports that step 5 accepted Galicia's valid identifier after step 4 displayed only Murcia. The regional search used group 133220 and returned Murcia as 70:9010; the next request used 70:9008, Galicia, alongside 18:452 and 356:15668. The reporter says the response contained Galicia's data. The distinction is between an identifier that exists at INE and one actually displayed by the preceding search.
Step 3 also accepted table 65061, an EPA table outside the 10 returned by step 2. Invalid identifiers still met checks: 70:99999 was blocked, and tables 4247 and 50902 were rejected because they were outside EPA's table list. The report therefore identifies a specific enforcement problem rather than an absence of validation. Its proposed change is to register only what a tool returned, instead of the complete upstream list used during the search.
Broad table requests produced millions of characters
The reporter of issue #7 measured 4,370,626 characters from table 65335 with empty filters and nult=100. The table concerns EPA unemployment rates by sex and region. INE accepted the requests, and the tool returned the upstream data as one result. The issue #7 reproduction identifies commit 36cba9c and mcp 2.3.0, keeping its environment separate from our source checks at 814f02b and the HTTP report in issue #2.
| Filters in the reporter's request | Series | Characters returned |
|---|---|---|
| Region, sex and an additional variable value | 1 | 37,476 |
| Sex only | 40 | 1,456,877 |
Empty tv list |
120 | 4,370,626 |
The reported character counts give an integration a concrete reason to narrow a request before sending its result to an assistant. A question about one region and a recent period calls for different filters than a request covering all regions. The reporter proposes a threshold based on series or observations, followed by series counts, names or unfiltered variables and guidance for narrowing the request. Issue #7 distinguishes these accepted responses from the requests INE refuses in issue #3.
English tool descriptions accompany INE statistical labels
The README describes English tool descriptions and data labels in Spanish, while its limitations section says labels follow the Spanish and English forms INE publishes. The README's language descriptions support English setup instructions alongside INE's own category labels. Geography, sex categories and survey variables retain their role as statistical-table labels even when an assistant writes its explanation in English.
Coverage is Spain and its territorial breakdowns, including autonomous communities, provinces and municipalities. The README lists 166 operations and says 110 have tables available. Those are project catalogue claims, separate from our 70 passing tests. Its troubleshooting instructions explain that an operation can appear in the catalogue before it has published tables, so selecting a listed operation and retrieving observations are separate stages of the documented workflow.
mcp vs direct APIs and CLI tools
INE MCP calls the public INE JSON API through a staged assistant-facing workflow. A direct API integration constructs those requests itself. The choice concerns who selects operations, tables and filters, and where response handling lives. The server's discovery tools provide that sequence to an assistant; a script or HTTP client lets its operator construct explicit requests for a known endpoint and handle the returned response.
| Route | Choose it when | Evidence behind the distinction |
|---|---|---|
| es-ine/mcp over stdio | An assistant should discover INE tables through a local process | Issue #2 describes a separate process per client |
| es-ine/mcp with legacy HTTP negotiation | Investigating the reported protocol-specific workflow behavior | Issue #2 records the expected blocked-step response |
| Direct INE API integration | A script already knows the table, filters and response handling | The README identifies the public JSON API as the data source |
| curl | Constructing explicit requests using URLs | curl's README describes URL-based data transfer |
| HTTPie CLI | Inspecting and adjusting HTTP requests in a terminal | HTTPie's README describes API interaction and formatted output |
curl is a command-line tool for transferring data from or to a server using URLs. HTTPie is designed for testing, debugging, and generally interacting with APIs and HTTP servers. The curl README and HTTPie CLI README support choosing them for explicit request work. Selecting INE endpoints and interpreting statistical categories then belongs to the script or operator, rather than this server's five-tool discovery sequence.
v1.0.0 and the source checkout identify different evidence
INE MCP's v1.0.0 release was published on November 26, 2026, and GitHub metadata records a last push on November 27. Our measured checkout is commit 814f02b. These identifiers describe the release record and the source run separately. The source scan counted 26 files and approximately 3,147 source lines, with a tests directory, no Dockerfile and no CI workflow files.
GitHub metadata recorded 194 stars on November 27. That count describes repository attention rather than the number of analysts using the server. The sampled issue discussions provide more specific decision evidence: a clone-address correction, a two-client sequence, accepted identifiers and three response sizes. Together with the passing source suite, those details support the local-use recommendation without assigning a numerical maturity or community rating.
Outdated claims, corrected
The README says each step accepts only identifiers returned by previous steps, but issue #5 reports Galicia and table 65061 passing despite their absence from displayed results. The report also records invalid identifiers being rejected, so the correction concerns returned-result enforcement specifically. Issue #2 separately challenges the documented client-isolation promise under HTTP negotiation of MCP 2026-07-28, with legacy negotiation and separate stdio processes producing different outcomes.
Broader protocol comparisons also require specific wording. Blaxel's comparison describes horizontal scaling of stateful sessions as a limitation; the protocol-version distinction reported in issue #2 shows why deployment advice needs an implementation and protocol attached. CircleCI's audit-logging claim is broader than the implementation work described in Google's logging guidance. These are claims about Blaxel's comparison and CircleCI's comparison, rather than findings about this server's implementation.
Mitiga's article says, "No MCP, no answers. Just a chatbot that shrugs." Google's explanation says MCP builds on existing tool use and function calling and standardizes them. Those passages support a narrower description: MCP standardizes access to external tools; external access also has existing integration mechanisms. The correction concerns Mitiga's categorical wording and Google's description of standardization, keeping the distinction separate from INE MCP's measured source checks.
FAQ
INE MCP's documented local setup requires Python 3.11 or later and uv: clone the GitHub repository, run uv sync and register uv run ine-mcp with a client. The README supplies those installation steps and the absolute-path requirement. The questions below also cover the corrected clone address, reported HTTP state sharing and the relationship between this five-tool server and its underlying public JSON API.
How do I install, connect, and set up MCP?
For INE MCP, clone https://github.com/es-ine/mcp.git into ine-mcp, enter that directory and run uv sync. The README's local instructions then use uv run ine-mcp. Register that command in an MCP client using the absolute clone path. The server waits over stdio until its client connects, so starting the process alone leaves it waiting for requests from that client.
Which repository URL should I use to clone es-ine/mcp locally?
Use https://github.com/es-ine/mcp.git, the GitHub address in the current English README. The reporter of closed issue #6 supplied that correction after the Spanish instructions pointed to GitLab and returned an error. The issue's command is git clone https://github.com/es-ine/mcp.git ine-mcp, which gives the checkout the directory name used in the local installation instructions.
Do es-ine/mcp HTTP clients share flow state under MCP 2026-07-28?
Issue #2 reports shared state in its two-client reproduction under MCP 2026-07-28. Its comparison with legacy 2025-11-25 negotiation produced the expected blocked-step response, and the reporter identifies a separate process per stdio client as a workaround. The issue #2 transport comparison is the basis for preferring local stdio when each client's completed steps must belong to that client.
How does MCP differ from an API?
INE MCP exposes five assistant-callable tools over an existing public JSON API. The README identifies INE's API as the underlying data source, so the server adds operation discovery and a staged query workflow. An integration written directly against that API supplies its own table selection, filters and response handling. Both routes request statistical data from INE; this repository supplies the assistant-facing discovery sequence.
What we have not tested yet
Our completed measurements cover installation, build and pytest at commit 814f02b. They exclude a live statistical-answer evaluation, response latency, hosted-endpoint behavior, concurrent HTTP users and memory growth over time. The README calls the hosted endpoint available soon. The configured container image does not establish actual runtime or operating-system versions; those require raw toolchain logs. The failed deployment route contains no completed statistical question-and-answer session or screenshot records.
The issue reproductions remain attributed observations: we did not repeat their requests, exercise proposed patches or establish behavior after later fixes. Issue #7 names 36cba9c, while our harness names 814f02b; neither observation identifies its checkout as the v1.0.0 tag. The closed clone-URL report supplies a correction but no documentation-patch diff. The evidence contains no implemented retention cleanup or result-size threshold, and issue #2's extracts establish no SDK version for its reproduction.
Security auditing, answer accuracy, workload comparisons against curl or HTTPie, and project-specific comparisons with RAG, UTCP, A2A, skills or agent systems are outside these checks. Search demand and worldwide adoption are unknown. Rendered layout, accessibility, related links and recommendation modules also fall outside this text review. For a first local analysis, retain the returned INE table URL, filters and period with the figure so its statistical basis stays visible.


